package com.lhd.qd.common.base;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.baomidou.mybatisplus.extension.toolkit.SqlHelper;

public class BaseServiceImpl<M extends BaseMapper<T>, T> extends ServiceImpl<M, T> {

    public boolean removeByIdWithFill(T entity) {
        return SqlHelper.retBool(baseMapper.deleteByIdWithFill(entity));
    }
}
